import CartCheckBox from './CartCheckBox'


export default class CartTableHeader extends React.Component{
    render(){
        const {all_selected,onClick}=this.props

        return(
            <div className={'cart-content-box-header'}>
                <CartCheckBox
                    selected={all_selected}
                    onClick={onClick}
                />
                <p className={'cart-content-header-p1'}>全选</p>
                <p className={'cart-content-header-p2'}>商品</p>
                <p className={'cart-content-header-p3'}>货号</p>
                <p className={'cart-content-header-p4'}>规格</p>
                <p className={'cart-content-header-p5'}>单价</p>
                <p className={'cart-content-header-p6'}>数量</p>
                <p className={'cart-content-header-p7'}>金额</p>
                <p className={'cart-content-header-p8'}>操作</p>
            </div>
        )
    }
}